nextAvailableAppointment
Next available appointment
GraphQL Schema
extend type query {
"""Next available appointment"""
nextAvailableAppointment(userId: ID!): AvailableAppointment
}
Arguments
| Name | Type | Description |
|---|---|---|
| userId | ID! | Unique ID of the user |
Response Shape
This query returns AvailableAppointment
| Name | Type | Description |
|---|---|---|
| id | ID! | Unique ID of the object |
| startTime | Datetime! | |
| endTime | Datetime! |